package com.kalenchuk.ui.table;


public class BranchTableModel extends javax.swing.table.DefaultTableModel {

	private static final long serialVersionUID = 3977833712072849330L;

	public BranchTableModel() {
		super(
				new Object[][] { { null, null, null, null, null, null, null },
						 { null, null, null, null, null, null, null } }, 
				new String[] { 
				"Start", "End", "Type of Branch", "Mark / Type", "Length, km / Snom", "Ktr", "" }
			);
		
	}

	Class[] types = new Class[] { java.lang.String.class, java.lang.String.class, String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, Long.class };
	
	public Class getColumnClass(int columnIndex) {
		return types[columnIndex];
	}

}
